/*
 * @Author: yangrongxin
 * @Date: 2021-08-19 10:32:41
 * @LastEditors: yangrongxin
 * @LastEditTime: 2021-08-20 13:57:36
 */
import RequestDecorator, { Controller } from '../decorator';

@Controller('/customer/favorite')
class Favorite {
  name = 'Favorite';
  // 查询商品列表
  @RequestDecorator.Post()
  static getFavoriteList = '/measureTableList';

  // 获取宣教收藏列表
  @RequestDecorator.Post()
  static getArticleFavoriteList = '/articleList';

  // 添加收藏
  @RequestDecorator.Post()
  static addFavorite = '/add';

  // 清空收藏
  @RequestDecorator.Post()
  static clearFavorite = '/clear';

  // 取消收藏
  @RequestDecorator.Post()
  static deleteFavorite = '/delete';
}

export default Favorite;
